package com.sjh.commons.base.result;

import lombok.Getter;

/**
 * 功能描述
 *
 * @author songjiahao
 * @date 2023/03/11  9:13
 */
@Getter
public enum Codes {
    SUCC(200,"成功"),
    ERROR(501,"服务器错误"),
    BIND_ERROR(502,"参数绑定异常");
    private Integer code;
    private String msg;

    Codes(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
